3.7.31 \(\int \frac {A+B \sec (c+d x)+C \sec ^2(c+d x)}{(a+a \sec (c+d x))^{2/3}} \, dx\) [631]
Optimal. Leaf size=803 \[ -\frac {3 (A-B+C) \tan (c+d x)}{d (a+a \sec (c+d x))^{2/3}}+\frac {3 \sqrt {2} A F_1\left (\frac {5}{6};\frac {1}{2},1;\frac {11}{6};\frac {1}{2} (1+\sec (c+d x)),1+\sec (c+d x)\right ) \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)}{5 a d \sqrt {1-\sec (c+d x)}}-\frac {3 \left (1+\sqrt {3}\right ) (A-B+2 C) \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)}{a d (1+\sec (c+d x))^{2/3} \left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )}+\frac {3 \sqrt [3]{2} \sqrt [4]{3} (A-B+2 C) E\left (\text {ArcCos}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right ) \sqrt [3]{a+a \sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right ) \sqrt {\frac {2^{2/3}+\sqrt [3]{2} \sqrt [3]{1+\sec (c+d x)}+(1+\sec (c+d x))^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}} \tan (c+d x)}{a d (1-\sec (c+d x)) (1+\sec (c+d x))^{2/3} \sqrt {-\frac {\sqrt [3]{1+\sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}}}+\frac {3^{3/4} \left (1-\sqrt {3}\right ) (A-B+2 C) F\left (\text {ArcCos}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right ) \sqrt [3]{a+a \sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right ) \sqrt {\frac {2^{2/3}+\sqrt [3]{2} \sqrt [3]{1+\sec (c+d x)}+(1+\sec (c+d x))^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}} \tan (c+d x)}{2^{2/3} a d (1-\sec (c+d x)) (1+\sec (c+d x))^{2/3} \sqrt {-\frac {\sqrt [3]{1+\sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}}} \]
[Out]
-3*(A-B+C)*tan(d*x+c)/d/(a+a*sec(d*x+c))^(2/3)-3*(A-B+2*C)*(a+a*sec(d*x+c))^(1/3)*(1+3^(1/2))*tan(d*x+c)/a/d/(
1+sec(d*x+c))^(2/3)/(2^(1/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))+3/5*A*AppellF1(5/6,1,1/2,11/6,1+sec(d*x+c),1/2+
1/2*sec(d*x+c))*(a+a*sec(d*x+c))^(1/3)*2^(1/2)*tan(d*x+c)/a/d/(1-sec(d*x+c))^(1/2)+3*2^(1/3)*3^(1/4)*(A-B+2*C)
*((2^(1/3)-(1+sec(d*x+c))^(1/3)*(1-3^(1/2)))^2/(2^(1/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))^2)^(1/2)/(2^(1/3)-(1
+sec(d*x+c))^(1/3)*(1-3^(1/2)))*(2^(1/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))*EllipticE((1-(2^(1/3)-(1+sec(d*x+c)
)^(1/3)*(1-3^(1/2)))^2/(2^(1/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))^2)^(1/2),1/4*6^(1/2)+1/4*2^(1/2))*(a+a*sec(d
*x+c))^(1/3)*(2^(1/3)-(1+sec(d*x+c))^(1/3))*((2^(2/3)+2^(1/3)*(1+sec(d*x+c))^(1/3)+(1+sec(d*x+c))^(2/3))/(2^(1
/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))^2)^(1/2)*tan(d*x+c)/a/d/(1-sec(d*x+c))/(1+sec(d*x+c))^(2/3)/(-(1+sec(d*x
+c))^(1/3)*(2^(1/3)-(1+sec(d*x+c))^(1/3))/(2^(1/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))^2)^(1/2)+1/2*3^(3/4)*(A-B
+2*C)*((2^(1/3)-(1+sec(d*x+c))^(1/3)*(1-3^(1/2)))^2/(2^(1/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))^2)^(1/2)/(2^(1/
3)-(1+sec(d*x+c))^(1/3)*(1-3^(1/2)))*(2^(1/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))*EllipticF((1-(2^(1/3)-(1+sec(d
*x+c))^(1/3)*(1-3^(1/2)))^2/(2^(1/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))^2)^(1/2),1/4*6^(1/2)+1/4*2^(1/2))*(a+a*
sec(d*x+c))^(1/3)*(2^(1/3)-(1+sec(d*x+c))^(1/3))*(1-3^(1/2))*((2^(2/3)+2^(1/3)*(1+sec(d*x+c))^(1/3)+(1+sec(d*x
+c))^(2/3))/(2^(1/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))^2)^(1/2)*tan(d*x+c)*2^(1/3)/a/d/(1-sec(d*x+c))/(1+sec(d
*x+c))^(2/3)/(-(1+sec(d*x+c))^(1/3)*(2^(1/3)-(1+sec(d*x+c))^(1/3))/(2^(1/3)-(1+sec(d*x+c))^(1/3)*(1+3^(1/2)))^
2)^(1/2)
________________________________________________________________________________________
Rubi [A]
time = 0.65, antiderivative size = 803, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 11, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.314, Rules used = {4137, 4009,
3864, 3863, 141, 3913, 3912, 65, 314, 231, 1895} \begin {gather*} \frac {3 \sqrt [3]{2} \sqrt [4]{3} (A-B+2 C) E\left (\text {ArcCos}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right ) \sqrt [3]{\sec (c+d x) a+a} \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right ) \sqrt {\frac {(\sec (c+d x)+1)^{2/3}+\sqrt [3]{2} \sqrt [3]{\sec (c+d x)+1}+2^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}} \tan (c+d x)}{a d (1-\sec (c+d x)) (\sec (c+d x)+1)^{2/3} \sqrt {-\frac {\sqrt [3]{\sec (c+d x)+1} \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}}}+\frac {3^{3/4} \left (1-\sqrt {3}\right ) (A-B+2 C) F\left (\text {ArcCos}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right ) \sqrt [3]{\sec (c+d x) a+a} \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right ) \sqrt {\frac {(\sec (c+d x)+1)^{2/3}+\sqrt [3]{2} \sqrt [3]{\sec (c+d x)+1}+2^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}} \tan (c+d x)}{2^{2/3} a d (1-\sec (c+d x)) (\sec (c+d x)+1)^{2/3} \sqrt {-\frac {\sqrt [3]{\sec (c+d x)+1} \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}}}+\frac {3 \sqrt {2} A F_1\left (\frac {5}{6};\frac {1}{2},1;\frac {11}{6};\frac {1}{2} (\sec (c+d x)+1),\sec (c+d x)+1\right ) \sqrt [3]{\sec (c+d x) a+a} \tan (c+d x)}{5 a d \sqrt {1-\sec (c+d x)}}-\frac {3 (A-B+C) \tan (c+d x)}{d (\sec (c+d x) a+a)^{2/3}}-\frac {3 \left (1+\sqrt {3}\right ) (A-B+2 C) \sqrt [3]{\sec (c+d x) a+a} \tan (c+d x)}{a d (\sec (c+d x)+1)^{2/3} \left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
Int[(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2)/(a + a*Sec[c + d*x])^(2/3),x]
[Out]
(-3*(A - B + C)*Tan[c + d*x])/(d*(a + a*Sec[c + d*x])^(2/3)) + (3*Sqrt[2]*A*AppellF1[5/6, 1/2, 1, 11/6, (1 + S
ec[c + d*x])/2, 1 + Sec[c + d*x]]*(a + a*Sec[c + d*x])^(1/3)*Tan[c + d*x])/(5*a*d*Sqrt[1 - Sec[c + d*x]]) - (3
*(1 + Sqrt[3])*(A - B + 2*C)*(a + a*Sec[c + d*x])^(1/3)*Tan[c + d*x])/(a*d*(1 + Sec[c + d*x])^(2/3)*(2^(1/3) -
(1 + Sqrt[3])*(1 + Sec[c + d*x])^(1/3))) + (3*2^(1/3)*3^(1/4)*(A - B + 2*C)*EllipticE[ArcCos[(2^(1/3) - (1 -
Sqrt[3])*(1 + Sec[c + d*x])^(1/3))/(2^(1/3) - (1 + Sqrt[3])*(1 + Sec[c + d*x])^(1/3))], (2 + Sqrt[3])/4]*(a +
a*Sec[c + d*x])^(1/3)*(2^(1/3) - (1 + Sec[c + d*x])^(1/3))*Sqrt[(2^(2/3) + 2^(1/3)*(1 + Sec[c + d*x])^(1/3) +
(1 + Sec[c + d*x])^(2/3))/(2^(1/3) - (1 + Sqrt[3])*(1 + Sec[c + d*x])^(1/3))^2]*Tan[c + d*x])/(a*d*(1 - Sec[c
+ d*x])*(1 + Sec[c + d*x])^(2/3)*Sqrt[-(((1 + Sec[c + d*x])^(1/3)*(2^(1/3) - (1 + Sec[c + d*x])^(1/3)))/(2^(1/
3) - (1 + Sqrt[3])*(1 + Sec[c + d*x])^(1/3))^2)]) + (3^(3/4)*(1 - Sqrt[3])*(A - B + 2*C)*EllipticF[ArcCos[(2^(
1/3) - (1 - Sqrt[3])*(1 + Sec[c + d*x])^(1/3))/(2^(1/3) - (1 + Sqrt[3])*(1 + Sec[c + d*x])^(1/3))], (2 + Sqrt[
3])/4]*(a + a*Sec[c + d*x])^(1/3)*(2^(1/3) - (1 + Sec[c + d*x])^(1/3))*Sqrt[(2^(2/3) + 2^(1/3)*(1 + Sec[c + d*
x])^(1/3) + (1 + Sec[c + d*x])^(2/3))/(2^(1/3) - (1 + Sqrt[3])*(1 + Sec[c + d*x])^(1/3))^2]*Tan[c + d*x])/(2^(
2/3)*a*d*(1 - Sec[c + d*x])*(1 + Sec[c + d*x])^(2/3)*Sqrt[-(((1 + Sec[c + d*x])^(1/3)*(2^(1/3) - (1 + Sec[c +
d*x])^(1/3)))/(2^(1/3) - (1 + Sqrt[3])*(1 + Sec[c + d*x])^(1/3))^2)])
Rule 65
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]
Rule 141
Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Simp[(b*e - a*f
)^p*((a + b*x)^(m + 1)/(b^(p + 1)*(m + 1)*(b/(b*c - a*d))^n))*AppellF1[m + 1, -n, -p, m + 2, (-d)*((a + b*x)/(
b*c - a*d)), (-f)*((a + b*x)/(b*e - a*f))], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && !IntegerQ[m] && !Int
egerQ[n] && IntegerQ[p] && GtQ[b/(b*c - a*d), 0] && !(GtQ[d/(d*a - c*b), 0] && SimplerQ[c + d*x, a + b*x])
Rule 231
Int[1/Sqrt[(a_) + (b_.)*(x_)^6], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[x*(s +
r*x^2)*(Sqrt[(s^2 - r*s*x^2 + r^2*x^4)/(s + (1 + Sqrt[3])*r*x^2)^2]/(2*3^(1/4)*s*Sqrt[a + b*x^6]*Sqrt[r*x^2*(
(s + r*x^2)/(s + (1 + Sqrt[3])*r*x^2)^2)]))*EllipticF[ArcCos[(s + (1 - Sqrt[3])*r*x^2)/(s + (1 + Sqrt[3])*r*x^
2)], (2 + Sqrt[3])/4], x]] /; FreeQ[{a, b}, x]
Rule 314
Int[(x_)^4/Sqrt[(a_) + (b_.)*(x_)^6], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Dist[(
Sqrt[3] - 1)*(s^2/(2*r^2)), Int[1/Sqrt[a + b*x^6], x], x] - Dist[1/(2*r^2), Int[((Sqrt[3] - 1)*s^2 - 2*r^2*x^4
)/Sqrt[a + b*x^6], x], x]] /; FreeQ[{a, b}, x]
Rule 1895
Int[((c_) + (d_.)*(x_)^4)/Sqrt[(a_) + (b_.)*(x_)^6], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/
a, 3]]}, Simp[(1 + Sqrt[3])*d*s^3*x*(Sqrt[a + b*x^6]/(2*a*r^2*(s + (1 + Sqrt[3])*r*x^2))), x] - Simp[3^(1/4)*d
*s*x*(s + r*x^2)*(Sqrt[(s^2 - r*s*x^2 + r^2*x^4)/(s + (1 + Sqrt[3])*r*x^2)^2]/(2*r^2*Sqrt[(r*x^2*(s + r*x^2))/
(s + (1 + Sqrt[3])*r*x^2)^2]*Sqrt[a + b*x^6]))*EllipticE[ArcCos[(s + (1 - Sqrt[3])*r*x^2)/(s + (1 + Sqrt[3])*r
*x^2)], (2 + Sqrt[3])/4], x]] /; FreeQ[{a, b, c, d}, x] && EqQ[2*Rt[b/a, 3]^2*c - (1 - Sqrt[3])*d, 0]
Rule 3863
Int[(csc[(c_.) + (d_.)*(x_)]*(b_.) + (a_))^(n_), x_Symbol] :> Dist[a^n*(Cot[c + d*x]/(d*Sqrt[1 + Csc[c + d*x]]
*Sqrt[1 - Csc[c + d*x]])), Subst[Int[(1 + b*(x/a))^(n - 1/2)/(x*Sqrt[1 - b*(x/a)]), x], x, Csc[c + d*x]], x] /
; FreeQ[{a, b, c, d, n}, x] && EqQ[a^2 - b^2, 0] && !IntegerQ[2*n] && GtQ[a, 0]
Rule 3864
Int[(csc[(c_.) + (d_.)*(x_)]*(b_.) + (a_))^(n_), x_Symbol] :> Dist[a^IntPart[n]*((a + b*Csc[c + d*x])^FracPart
[n]/(1 + (b/a)*Csc[c + d*x])^FracPart[n]), Int[(1 + (b/a)*Csc[c + d*x])^n, x], x] /; FreeQ[{a, b, c, d, n}, x]
&& EqQ[a^2 - b^2, 0] && !IntegerQ[2*n] && !GtQ[a, 0]
Rule 3912
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_.)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_), x_Symbol] :> Dist[a^2*d
*(Cot[e + f*x]/(f*Sqrt[a + b*Csc[e + f*x]]*Sqrt[a - b*Csc[e + f*x]])), Subst[Int[(d*x)^(n - 1)*((a + b*x)^(m -
1/2)/Sqrt[a - b*x]), x], x, Csc[e + f*x]], x] /; FreeQ[{a, b, d, e, f, m, n}, x] && EqQ[a^2 - b^2, 0] && !In
tegerQ[m] && GtQ[a, 0]
Rule 3913
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_.)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_), x_Symbol] :> Dist[a^Int
Part[m]*((a + b*Csc[e + f*x])^FracPart[m]/(1 + (b/a)*Csc[e + f*x])^FracPart[m]), Int[(1 + (b/a)*Csc[e + f*x])^
m*(d*Csc[e + f*x])^n, x], x] /; FreeQ[{a, b, d, e, f, m, n}, x] && EqQ[a^2 - b^2, 0] && !IntegerQ[m] && !GtQ
[a, 0]
Rule 4009
Int[(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_)*(csc[(e_.) + (f_.)*(x_)]*(d_.) + (c_)), x_Symbol] :> Dist[c, I
nt[(a + b*Csc[e + f*x])^m, x], x] + Dist[d, Int[(a + b*Csc[e + f*x])^m*Csc[e + f*x], x], x] /; FreeQ[{a, b, c,
d, e, f, m}, x] && NeQ[b*c - a*d, 0] && !IntegerQ[2*m]
Rule 4137
Int[((A_.) + csc[(e_.) + (f_.)*(x_)]*(B_.) + csc[(e_.) + (f_.)*(x_)]^2*(C_.))*(csc[(e_.) + (f_.)*(x_)]*(b_.) +
(a_))^(m_), x_Symbol] :> Simp[(-(a*A - b*B + a*C))*Cot[e + f*x]*((a + b*Csc[e + f*x])^m/(a*f*(2*m + 1))), x]
+ Dist[1/(a*b*(2*m + 1)), Int[(a + b*Csc[e + f*x])^(m + 1)*Simp[A*b*(2*m + 1) + (b*B*(m + 1) - a*(A*(m + 1) -
C*m))*Csc[e + f*x], x], x], x] /; FreeQ[{a, b, e, f, A, B, C}, x] && EqQ[a^2 - b^2, 0] && LtQ[m, -2^(-1)]
Rubi steps
\begin {align*} \int \frac {A+B \sec (c+d x)+C \sec ^2(c+d x)}{(a+a \sec (c+d x))^{2/3}} \, dx &=-\frac {3 (A-B+C) \tan (c+d x)}{d (a+a \sec (c+d x))^{2/3}}-\frac {3 \int \sqrt [3]{a+a \sec (c+d x)} \left (-\frac {a A}{3}-\frac {1}{3} a (A-B+2 C) \sec (c+d x)\right ) \, dx}{a^2}\\ &=-\frac {3 (A-B+C) \tan (c+d x)}{d (a+a \sec (c+d x))^{2/3}}+\frac {A \int \sqrt [3]{a+a \sec (c+d x)} \, dx}{a}+\frac {(A-B+2 C) \int \sec (c+d x) \sqrt [3]{a+a \sec (c+d x)} \, dx}{a}\\ &=-\frac {3 (A-B+C) \tan (c+d x)}{d (a+a \sec (c+d x))^{2/3}}+\frac {\left (A \sqrt [3]{a+a \sec (c+d x)}\right ) \int \sqrt [3]{1+\sec (c+d x)} \, dx}{a \sqrt [3]{1+\sec (c+d x)}}+\frac {\left ((A-B+2 C) \sqrt [3]{a+a \sec (c+d x)}\right ) \int \sec (c+d x) \sqrt [3]{1+\sec (c+d x)} \, dx}{a \sqrt [3]{1+\sec (c+d x)}}\\ &=-\frac {3 (A-B+C) \tan (c+d x)}{d (a+a \sec (c+d x))^{2/3}}-\frac {\left (A \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} x \sqrt [6]{1+x}} \, dx,x,\sec (c+d x)\right )}{a d \sqrt {1-\sec (c+d x)} (1+\sec (c+d x))^{5/6}}-\frac {\left ((A-B+2 C) \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} \sqrt [6]{1+x}} \, dx,x,\sec (c+d x)\right )}{a d \sqrt {1-\sec (c+d x)} (1+\sec (c+d x))^{5/6}}\\ &=-\frac {3 (A-B+C) \tan (c+d x)}{d (a+a \sec (c+d x))^{2/3}}+\frac {3 \sqrt {2} A F_1\left (\frac {5}{6};\frac {1}{2},1;\frac {11}{6};\frac {1}{2} (1+\sec (c+d x)),1+\sec (c+d x)\right ) \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)}{5 a d \sqrt {1-\sec (c+d x)}}-\frac {\left (6 (A-B+2 C) \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {x^4}{\sqrt {2-x^6}} \, dx,x,\sqrt [6]{1+\sec (c+d x)}\right )}{a d \sqrt {1-\sec (c+d x)} (1+\sec (c+d x))^{5/6}}\\ &=-\frac {3 (A-B+C) \tan (c+d x)}{d (a+a \sec (c+d x))^{2/3}}+\frac {3 \sqrt {2} A F_1\left (\frac {5}{6};\frac {1}{2},1;\frac {11}{6};\frac {1}{2} (1+\sec (c+d x)),1+\sec (c+d x)\right ) \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)}{5 a d \sqrt {1-\sec (c+d x)}}+\frac {\left (3 (A-B+2 C) \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {2^{2/3} \left (-1+\sqrt {3}\right )-2 x^4}{\sqrt {2-x^6}} \, dx,x,\sqrt [6]{1+\sec (c+d x)}\right )}{a d \sqrt {1-\sec (c+d x)} (1+\sec (c+d x))^{5/6}}+\frac {\left (3\ 2^{2/3} \left (1-\sqrt {3}\right ) (A-B+2 C) \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {2-x^6}} \, dx,x,\sqrt [6]{1+\sec (c+d x)}\right )}{a d \sqrt {1-\sec (c+d x)} (1+\sec (c+d x))^{5/6}}\\ &=-\frac {3 (A-B+C) \tan (c+d x)}{d (a+a \sec (c+d x))^{2/3}}+\frac {3 \sqrt {2} A F_1\left (\frac {5}{6};\frac {1}{2},1;\frac {11}{6};\frac {1}{2} (1+\sec (c+d x)),1+\sec (c+d x)\right ) \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)}{5 a d \sqrt {1-\sec (c+d x)}}-\frac {3 \left (1+\sqrt {3}\right ) (A-B+2 C) \sqrt [3]{a+a \sec (c+d x)} \tan (c+d x)}{a d (1+\sec (c+d x))^{2/3} \left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )}+\frac {3 \sqrt [3]{2} \sqrt [4]{3} (A-B+2 C) E\left (\cos ^{-1}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right ) \sqrt [3]{a+a \sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right ) \sqrt {\frac {2^{2/3}+\sqrt [3]{2} \sqrt [3]{1+\sec (c+d x)}+(1+\sec (c+d x))^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}} \tan (c+d x)}{a d (1-\sec (c+d x)) (1+\sec (c+d x))^{2/3} \sqrt {-\frac {\sqrt [3]{1+\sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}}}+\frac {3^{3/4} \left (1-\sqrt {3}\right ) (A-B+2 C) F\left (\cos ^{-1}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right ) \sqrt [3]{a+a \sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right ) \sqrt {\frac {2^{2/3}+\sqrt [3]{2} \sqrt [3]{1+\sec (c+d x)}+(1+\sec (c+d x))^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}} \tan (c+d x)}{2^{2/3} a d (1-\sec (c+d x)) (1+\sec (c+d x))^{2/3} \sqrt {-\frac {\sqrt [3]{1+\sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(4253\) vs. \(2(803)=1606\).
time = 19.85, size = 4253, normalized size = 5.30 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
Integrate[(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2)/(a + a*Sec[c + d*x])^(2/3),x]
[Out]
(Cos[c + d*x]^2*((1 + Cos[c + d*x])*Sec[c + d*x])^(1/3)*(1 + Sec[c + d*x])^(2/3)*(A + B*Sec[c + d*x] + C*Sec[c
+ d*x]^2)*(-6*Sec[(c + d*x)/2]*(A*Sin[(c + d*x)/2] - B*Sin[(c + d*x)/2] + C*Sin[(c + d*x)/2]) + 6*(A - B + 2*
C)*Sin[c + d*x]))/(d*(A + 2*C + 2*B*Cos[c + d*x] + A*Cos[2*c + 2*d*x])*(a*(1 + Sec[c + d*x]))^(2/3)) - (2*2^(1
/3)*Cos[c + d*x]^2*(1 + Sec[c + d*x])^(2/3)*(A + B*Sec[c + d*x] + C*Sec[c + d*x]^2)*(4*A*(1 + Sec[c + d*x])^(1
/3) - 2*B*(1 + Sec[c + d*x])^(1/3) + 4*C*(1 + Sec[c + d*x])^(1/3) + Cos[c + d*x]*(-6*A*(1 + Sec[c + d*x])^(1/3
) + 6*B*(1 + Sec[c + d*x])^(1/3) - 12*C*(1 + Sec[c + d*x])^(1/3)))*Tan[(c + d*x)/2]*(((A - B + 2*C)*AppellF1[3
/2, 1/3, 1, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Tan[(c + d*x)/2]^2)/(Cos[c + d*x]*Sec[(c + d*x)/2]^2
)^(2/3) + (9*(-3*AppellF1[1/2, 1/3, 1, 3/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*(A + B - 2*C + (-5*A + 7*
(B - 2*C))*Cos[c + d*x]) - 4*(A - B + 2*C)*(3*AppellF1[3/2, 1/3, 2, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]
^2] - AppellF1[3/2, 4/3, 1, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2])*Cos[c + d*x]*Tan[(c + d*x)/2]^2))/(
2*(-1 + Tan[(c + d*x)/2]^2)*(-9*AppellF1[1/2, 1/3, 1, 3/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2] + 2*(3*App
ellF1[3/2, 1/3, 2, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2] - AppellF1[3/2, 4/3, 1, 5/2, Tan[(c + d*x)/2]
^2, -Tan[(c + d*x)/2]^2])*Tan[(c + d*x)/2]^2))))/(3*d*(A + 2*C + 2*B*Cos[c + d*x] + A*Cos[2*c + 2*d*x])*(Cos[(
c + d*x)/2]^2*Sec[c + d*x])^(2/3)*(a*(1 + Sec[c + d*x]))^(2/3)*(-1/3*(2^(1/3)*Sec[(c + d*x)/2]^2*(((A - B + 2*
C)*AppellF1[3/2, 1/3, 1, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Tan[(c + d*x)/2]^2)/(Cos[c + d*x]*Sec[(
c + d*x)/2]^2)^(2/3) + (9*(-3*AppellF1[1/2, 1/3, 1, 3/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*(A + B - 2*C
+ (-5*A + 7*(B - 2*C))*Cos[c + d*x]) - 4*(A - B + 2*C)*(3*AppellF1[3/2, 1/3, 2, 5/2, Tan[(c + d*x)/2]^2, -Tan
[(c + d*x)/2]^2] - AppellF1[3/2, 4/3, 1, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2])*Cos[c + d*x]*Tan[(c +
d*x)/2]^2))/(2*(-1 + Tan[(c + d*x)/2]^2)*(-9*AppellF1[1/2, 1/3, 1, 3/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^
2] + 2*(3*AppellF1[3/2, 1/3, 2, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2] - AppellF1[3/2, 4/3, 1, 5/2, Tan
[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2])*Tan[(c + d*x)/2]^2))))/(Cos[(c + d*x)/2]^2*Sec[c + d*x])^(2/3) - (2*2^(
1/3)*Tan[(c + d*x)/2]*(((A - B + 2*C)*AppellF1[3/2, 1/3, 1, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Sec[
(c + d*x)/2]^2*Tan[(c + d*x)/2])/(Cos[c + d*x]*Sec[(c + d*x)/2]^2)^(2/3) + ((A - B + 2*C)*Tan[(c + d*x)/2]^2*(
(-3*AppellF1[5/2, 1/3, 2, 7/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Sec[(c + d*x)/2]^2*Tan[(c + d*x)/2])/5
+ (AppellF1[5/2, 4/3, 1, 7/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Sec[(c + d*x)/2]^2*Tan[(c + d*x)/2])/5
))/(Cos[c + d*x]*Sec[(c + d*x)/2]^2)^(2/3) - (2*(A - B + 2*C)*AppellF1[3/2, 1/3, 1, 5/2, Tan[(c + d*x)/2]^2, -
Tan[(c + d*x)/2]^2]*Tan[(c + d*x)/2]^2*(-(Sec[(c + d*x)/2]^2*Sin[c + d*x]) + Cos[c + d*x]*Sec[(c + d*x)/2]^2*T
an[(c + d*x)/2]))/(3*(Cos[c + d*x]*Sec[(c + d*x)/2]^2)^(5/3)) - (9*Sec[(c + d*x)/2]^2*Tan[(c + d*x)/2]*(-3*App
ellF1[1/2, 1/3, 1, 3/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*(A + B - 2*C + (-5*A + 7*(B - 2*C))*Cos[c + d
*x]) - 4*(A - B + 2*C)*(3*AppellF1[3/2, 1/3, 2, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2] - AppellF1[3/2,
4/3, 1, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2])*Cos[c + d*x]*Tan[(c + d*x)/2]^2))/(2*(-1 + Tan[(c + d*x
)/2]^2)^2*(-9*AppellF1[1/2, 1/3, 1, 3/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2] + 2*(3*AppellF1[3/2, 1/3, 2,
5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2] - AppellF1[3/2, 4/3, 1, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)
/2]^2])*Tan[(c + d*x)/2]^2)) - (9*(-3*AppellF1[1/2, 1/3, 1, 3/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*(A +
B - 2*C + (-5*A + 7*(B - 2*C))*Cos[c + d*x]) - 4*(A - B + 2*C)*(3*AppellF1[3/2, 1/3, 2, 5/2, Tan[(c + d*x)/2]
^2, -Tan[(c + d*x)/2]^2] - AppellF1[3/2, 4/3, 1, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2])*Cos[c + d*x]*T
an[(c + d*x)/2]^2)*(2*(3*AppellF1[3/2, 1/3, 2, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2] - AppellF1[3/2, 4
/3, 1, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2])*Sec[(c + d*x)/2]^2*Tan[(c + d*x)/2] - 9*(-1/3*(AppellF1[
3/2, 1/3, 2, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Sec[(c + d*x)/2]^2*Tan[(c + d*x)/2]) + (AppellF1[3/
2, 4/3, 1, 5/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Sec[(c + d*x)/2]^2*Tan[(c + d*x)/2])/9) + 2*Tan[(c +
d*x)/2]^2*((3*AppellF1[5/2, 4/3, 2, 7/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Sec[(c + d*x)/2]^2*Tan[(c +
d*x)/2])/5 - (4*AppellF1[5/2, 7/3, 1, 7/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Sec[(c + d*x)/2]^2*Tan[(c
+ d*x)/2])/5 + 3*((-6*AppellF1[5/2, 1/3, 3, 7/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Sec[(c + d*x)/2]^2*T
an[(c + d*x)/2])/5 + (AppellF1[5/2, 4/3, 2, 7/2, Tan[(c + d*x)/2]^2, -Tan[(c + d*x)/2]^2]*Sec[(c + d*x)/2]^2*T
an[(c + d*x)/2])/5))))/(2*(-1 + Tan[(c + d*x)/2]^2)*(-9*AppellF1[1/2, 1/3, 1, 3/2, Tan[(c + d*x)/2]^2, -Tan[(c
+ d*x)/2]^2] + 2*(3*AppellF1[3/2, 1/3, 2, 5/2,...
________________________________________________________________________________________
Maple [F]
time = 0.10, size = 0, normalized size = 0.00 \[\int \frac {A +B \sec \left (d x +c \right )+C \left (\sec ^{2}\left (d x +c \right )\right )}{\left (a +a \sec \left (d x +c \right )\right )^{\frac {2}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(a+a*sec(d*x+c))^(2/3),x)
[Out]
int((A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(a+a*sec(d*x+c))^(2/3),x)
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(a+a*sec(d*x+c))^(2/3),x, algorithm="maxima")
[Out]
integrate((C*sec(d*x + c)^2 + B*sec(d*x + c) + A)/(a*sec(d*x + c) + a)^(2/3), x)
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(a+a*sec(d*x+c))^(2/3),x, algorithm="fricas")
[Out]
Timed out
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {A + B \sec {\left (c + d x \right )} + C \sec ^{2}{\left (c + d x \right )}}{\left (a \left (\sec {\left (c + d x \right )} + 1\right )\right )^{\frac {2}{3}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*sec(d*x+c)+C*sec(d*x+c)**2)/(a+a*sec(d*x+c))**(2/3),x)
[Out]
Integral((A + B*sec(c + d*x) + C*sec(c + d*x)**2)/(a*(sec(c + d*x) + 1))**(2/3), x)
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*sec(d*x+c)+C*sec(d*x+c)^2)/(a+a*sec(d*x+c))^(2/3),x, algorithm="giac")
[Out]
integrate((C*sec(d*x + c)^2 + B*sec(d*x + c) + A)/(a*sec(d*x + c) + a)^(2/3), x)
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {A+\frac {B}{\cos \left (c+d\,x\right )}+\frac {C}{{\cos \left (c+d\,x\right )}^2}}{{\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )}^{2/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((A + B/cos(c + d*x) + C/cos(c + d*x)^2)/(a + a/cos(c + d*x))^(2/3),x)
[Out]
int((A + B/cos(c + d*x) + C/cos(c + d*x)^2)/(a + a/cos(c + d*x))^(2/3), x)
________________________________________________________________________________________